package com.pethome.pet.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pethome.common.annotation.Excel;
import com.pethome.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 宠物信息对象 t_pet
 * 
 * @author hjc
 * @date 2024-08-26
 */
@TableName("t_pet")
public class Pet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    @TableId("pet_id")
    private Long petId;

    /** 状态 1-收容审批中，2-已收容，3-领养审批中，4-已被领养，5宠物丢失*/
    @Excel(name = "状态")
    private Long petStatus;

    /** 图片 */
    @Excel(name = "图片")
    private String petImages;

    /** 名字 */
    @Excel(name = "名字")
    private String petName;

    /** 性别  */
    @Excel(name = "性别 ")
    private Long petSex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long petAge;

    /** 品种 */
    @Excel(name = "品种")
    private Long petKind;

    /** 宠物性格 */
    @Excel(name = "宠物性格")
    private String petCharacter;

    /** 宠物大小 */
    @Excel(name = "宠物大小")
    private Long petSize;

    /** 收容故事或描述 */
    @Excel(name = "收容故事或描述")
    private String petText;

    /** 健康情况 */
    @Excel(name = "健康情况")
    private String petHealth;

    /** 是否绝育 */
    @Excel(name = "是否绝育")
    private Long petNoBaby;

    /** 已接种疫苗 */
    @Excel(name = "已接种疫苗")
    private String petVaccine;

    /** 收容价格 */
    @Excel(name = "收容价格")
    private Long petPrice;

    /** 宠物领养价格 */
    @Excel(name = "宠物领养价格")
    private Long petPeice;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private Long petShow;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date petCreateAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date petUpdateAt;

    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }
    public void setPetStatus(Long petStatus) 
    {
        this.petStatus = petStatus;
    }

    public Long getPetStatus() 
    {
        return petStatus;
    }
    public void setPetImages(String petImages) 
    {
        this.petImages = petImages;
    }

    public String getPetImages() 
    {
        return petImages;
    }
    public void setPetName(String petName) 
    {
        this.petName = petName;
    }

    public String getPetName() 
    {
        return petName;
    }
    public void setPetSex(Long petSex) 
    {
        this.petSex = petSex;
    }

    public Long getPetSex() 
    {
        return petSex;
    }
    public void setPetAge(Long petAge) 
    {
        this.petAge = petAge;
    }

    public Long getPetAge() 
    {
        return petAge;
    }
    public void setPetKind(Long petKind) 
    {
        this.petKind = petKind;
    }

    public Long getPetKind() 
    {
        return petKind;
    }
    public void setPetCharacter(String petCharacter) 
    {
        this.petCharacter = petCharacter;
    }

    public String getPetCharacter() 
    {
        return petCharacter;
    }
    public void setPetSize(Long petSize) 
    {
        this.petSize = petSize;
    }

    public Long getPetSize() 
    {
        return petSize;
    }
    public void setPetText(String petText) 
    {
        this.petText = petText;
    }

    public String getPetText() 
    {
        return petText;
    }
    public void setPetHealth(String petHealth) 
    {
        this.petHealth = petHealth;
    }

    public String getPetHealth() 
    {
        return petHealth;
    }
    public void setPetNoBaby(Long petNoBaby) 
    {
        this.petNoBaby = petNoBaby;
    }

    public Long getPetNoBaby() 
    {
        return petNoBaby;
    }
    public void setPetVaccine(String petVaccine) 
    {
        this.petVaccine = petVaccine;
    }

    public String getPetVaccine() 
    {
        return petVaccine;
    }
    public void setPetPrice(Long petPrice) 
    {
        this.petPrice = petPrice;
    }

    public Long getPetPrice() 
    {
        return petPrice;
    }
    public void setPetPeice(Long petPeice) 
    {
        this.petPeice = petPeice;
    }

    public Long getPetPeice() 
    {
        return petPeice;
    }
    public void setPetShow(Long petShow) 
    {
        this.petShow = petShow;
    }

    public Long getPetShow() 
    {
        return petShow;
    }
    public void setPetCreateAt(Date petCreateAt) 
    {
        this.petCreateAt = petCreateAt;
    }

    public Date getPetCreateAt() 
    {
        return petCreateAt;
    }
    public void setPetUpdateAt(Date petUpdateAt) 
    {
        this.petUpdateAt = petUpdateAt;
    }

    public Date getPetUpdateAt() 
    {
        return petUpdateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("petId", getPetId())
            .append("petStatus", getPetStatus())
            .append("petImages", getPetImages())
            .append("petName", getPetName())
            .append("petSex", getPetSex())
            .append("petAge", getPetAge())
            .append("petKind", getPetKind())
            .append("petCharacter", getPetCharacter())
            .append("petSize", getPetSize())
            .append("petText", getPetText())
            .append("petHealth", getPetHealth())
            .append("petNoBaby", getPetNoBaby())
            .append("petVaccine", getPetVaccine())
            .append("petPrice", getPetPrice())
            .append("petPeice", getPetPeice())
            .append("petShow", getPetShow())
            .append("petCreateAt", getPetCreateAt())
            .append("petUpdateAt", getPetUpdateAt())
            .toString();
    }
}
